* lisp/ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
authorLeo Liu <sdl.web@gmail.com>
Mon, 30 Apr 2012 11:57:47 +0000 (19:57 +0800)
committerLeo Liu <sdl.web@gmail.com>
Mon, 30 Apr 2012 11:57:47 +0000 (19:57 +0800)
read-only error.

lisp/ChangeLog
lisp/ibuf-ext.el

index bc0cdb54caf84ed4f9fa9e82920194bb247703ab..dcaf2b8c45c0880f321ce6b8bf656ec2c365089e 100644 (file)
@@ -1,3 +1,8 @@
+2012-04-30  Leo Liu  <sdl.web@gmail.com>
+
+       * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
+       read-only error.
+
 2012-04-29  Chong Yidong  <cyd@gnu.org>
 
        * follow.el (follow-calc-win-end): Rewrite to handle partial
index f943bd2fe58797eac288d5ff6bb5191dc83deb72..58d38f77b66bdfa08187067fd262d04068bc799c 100644 (file)
@@ -1356,8 +1356,8 @@ a prefix argument reverses the meaning of that variable."
                (diff-sentinel
                 (call-process shell-file-name nil
                               (current-buffer) nil
-                              shell-command-switch command)))
-             (insert "\n"))))
+                              shell-command-switch command))
+               (insert "\n")))))
       (sit-for 0)
       (when (file-exists-p tempfile)
        (delete-file tempfile)))))